package com.zzyl.nursing.dto;

import com.zzyl.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @author xiaoshuo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AlarmQueryPageDto extends BaseEntity {
    private Integer pageNum;
    private Integer pageSize;
    //设备名称
    private String deviceName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    private Long id;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    private Integer status;
    //接收人id
    private Long userId;
}